
[#include "single/layout/layout02/layout.ftl"/]
[@htmlHead]
<link href="${jpath}/assets/public/plugins/jquery-ztree/3.5.12/css/zTreeStyle/zTreeStyle.min.css" rel="stylesheet"
      type="text/css"/>
<style type="text/css" rel="stylesheet">
    .row{ margin-top: 30px;}
    .form-horizontal .control-label {
        text-align: right;
        margin-bottom: 0!important;
        padding-top: 7px!important;
    }
</style>
[/@htmlHead]

[@htmlBody]


<div class="row">
    <div class="col-xs-12">
        <form class="form-horizontal" action="${base}/personal/view/update" method="post" id="editForm">
            <input type="hidden" name="id" value="${account.id}"/>

            <div class="form-group">
                <label class="col-xs-3  control-label  ">头像：</label>

                <div id="uploadImg" class="col-xs-8   ">
                    <button type="button" class="btn btn-info btn-sm"
                            onclick="component.img.choose('选择图片','userPath','userImg')">
                        选择图片
                    </button>
                    <img id="userImg" src="${account.photo}"
                         style="padding-left: 15px;max-width: 50px;max-height: 35px;"></img>
                    <input id="userPath" name="photo" value="${account.photo}" type="hidden"/>
                </div>
            </div>



            [#--<div class="form-group">--]
                [#--<label class="col-xs-4  control-label  ">归属公司</label>--]

                [#--<div class="col-xs-8">--]
                    [#--<label class="control-label">${company.name}111111</label>--]
                [#--</div>--]
            [#--</div>--]


            [#--<div class="form-group">--]
                [#--<label class="col-xs-4  control-label   ">归属部门</label>--]

                [#--<div class="col-xs-8">--]
                    [#--<label class="control-label">${organization.name}</label>--]
                [#--</div>--]
            [#--</div>--]


            <div id="editAlert" class="" style="min-width:550px"></div>
            <div class="form-group">
                <label class="col-xs-3  control-label ">姓名：</label>

                <div class="col-xs-8  ">
                    <input name="name" value="${account.name}" readonly class="form-control input-large"/>
                </div>
            </div>


            <div class="form-group">
                <label class="col-xs-3  control-label ">邮箱：</label>

                <div class="col-xs-8 ">
                    <input name="email" value="${account.email}" placeholder="邮箱"
                           class="form-control input-large"/>
                </div>
            </div>


            <div class="form-group">
                <label class="col-xs-3 control-label ">电话：</label>

                <div class="col-xs-8  ">
                    <input name="phone" value="${account.phone}" placeholder="0755-2818133*"
                           class="form-control input-large"/>
                </div>
            </div>


            <div class="form-group">
                <label class="col-xs-3  control-label ">手机：</label>

                <div class="col-xs-8   ">
                    <input name="mobile" value="${account.mobile}" placeholder="133329195**"
                           class="form-control input-large"/>
                </div>
            </div>


            <div class="form-group">
                <label class="col-xs-3  control-label ">描述：</label>

                <div class="col-xs-8 ">
                    <textarea class="form-control input-large" name="description" id="description"
                              style="text-align: left;">${account.description}</textarea>
                </div>
            </div>


            [#--<div class="form-group">--]
                [#--<label class="col-xs-10 col-sm-4 control-label ">用户类型</label>--]

                [#--<div class="col-xs-10 col-sm-4  ">--]

                    [#--<label class="control-label">${account.userType}</label>--]
                [#--</div>--]
            [#--</div>--]





            <div class="form-group">
                <label class=" col-xs-3   control-label"></label>
                <div class="col-xs-8  " >
                    <input type="button" class="btn btn-info btn-sm" value="确定" onclick="doSubmit()"/>

                </div>
            </div>
        </form>
    </div>
</div>

[/@htmlBody]
[@htmlFoot]
    [#include "common/validate.ftl"/]
<script src="${jpath}/assets/public/plugins/dialog/bootbox.js" type="text/javascript"></script>
<script src="${base}/plugins/single/js/module/account/uploadFile.js" type="text/javascript"></script>
<script type="text/javascript" src="${base}/plugins/single/js/module/personal/information.js"></script>
[/@htmlFoot]